﻿<%@ Page Title="" Language="C#" MasterPageFile="~/4SMasterPage.master" AutoEventWireup="true" CodeFile="Customer.aspx.cs" Inherits="Customer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .style8
    {
            width: 71px;
        }
    .style9
    {
            width: 110px;
        }
        .style11
        {
        }
        .style12
    {
            width: 77px;
        }
        .style13
        {
            width: 115px;
        }
        .style14
        {
            width: 66px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
   
    <table style="width:100%; font-size:80%;">
        <tr>
            <td class="style11" colspan="2" align =center >
                <asp:Label ID="Label3" runat="server" Text="用户信息管理界面" Font-Size="XX-Large" Font-Names ="隶书"></asp:Label>
            </td>
        </tr>

    </table>
   
    <table style="width:86%;">
        <tr>
            <td class="style12">
                <asp:Button ID="btnSelect" runat="server" Text="查询用户" 
                    onclick="btnSelect_Click" />
            </td>
            <td class="style13">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style12">
                <asp:Label ID="lblID" runat="server" Text="客户ID"></asp:Label>
            </td>
            <td class="style13">
                <asp:TextBox ID="txtID" runat="server" Width="116px"></asp:TextBox>
            </td>
            <td class="style8">
                <asp:Label ID="lblName" runat="server" Text="客户名称"></asp:Label>
            </td>
            <td class="style9">
                <asp:TextBox ID="txtName" runat="server" Width="106px"></asp:TextBox>
            </td>
            <td class="style14"><asp:Label ID="lblVehicle" runat="server" Text="车牌号"></asp:Label></td>
            <td>  <asp:TextBox ID="txtVehicle" runat="server" Width="137px"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="style12">
                <asp:Label ID="lblTel" runat="server" Text="联系方式"></asp:Label>
            </td>
            <td class="style13">
                <asp:TextBox ID="txtTel" runat="server" Width="114px"></asp:TextBox>
            </td>
            <td class="style8">
                <asp:Label ID="lblEmail" runat="server" Text="Email"></asp:Label>
            </td>
            <td class="style9">
                <asp:TextBox ID="txtEmail" runat="server" Width="104px"></asp:TextBox>
            </td>
        </tr>
      
    </table>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
         ForeColor="#333333" GridLines="None" AllowPaging="True">
        <RowStyle BackColor="#EFF3FB"  />
        <Columns>
            <asp:BoundField DataField="CustomerID" HeaderText="客户ID" />
            <asp:BoundField DataField="CustomerName" HeaderText="客户名称" />
            <asp:BoundField DataField="CustomerTel" HeaderText="联系方式" />
            <asp:BoundField DataField="CustomerEmail" HeaderText="客户Email" />
            <asp:BoundField DataField="Vehicle" HeaderText="车牌号" />
        </Columns>
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
<p>
    &nbsp;</p>
</asp:Content>

